--- source/shared_lib/sources/platform/posix/socket.cpp
+++ source/shared_lib/sources/platform/posix/socket.cpp
@@ -10,6 +10,7 @@
 
 #include <cstring>
 #include <cstdlib>
+#include <cstdio>
 #include <stdexcept>
 #include <sstream>
 #if defined(HAVE_SYS_IOCTL_H)
